package com.czz.portal.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName: Tag
 * @Author Czz
 * @Date 2020/2/13
 * @Time 16:56
 **/
@Data
@TableName(value = "edu_question_tag")
@Accessors(chain = true)
public class Tag {
    @TableId(value = "tag_id",type = IdType.ID_WORKER_STR)
    private String id;

    @TableField(value = "tag_name")

    private String name;

    @JsonIgnore
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @JsonIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
